package com.dingli.framework.mapper;

import com.dingli.framework.entity.Bank;
import com.dingli.framework.entity.User;
import org.springframework.stereotype.Repository;

import java.util.Date;
import java.util.List;

@Repository
public interface BankMapper {
    List<Bank> findBankAll();
    long updateBank(Bank bank);
    int insertBank(String bankName, String shortName,Date establishDate);
    List<Bank> getBank(String bankName);
    int deleteBank(long bankId);
}
